package com.chinaoct.siku.LocalStorage.repository;

import com.chinaoct.siku.LocalStorage.entity.Storage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface StorageRep  extends JpaRepository<Storage,Long>, JpaSpecificationExecutor<Storage> {

    Storage findByRealName(String realName);

    Storage findByRealNameAndStorageType(String realName, Integer storageType);
}
